#
# Copyright (C) 2007 Dave Moore
# Copyright (C) 2007 Steve Mulligan
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


AC_PREREQ(2.59)

AC_INIT([slex],
        [0.0.1],
        [Dave Moore wrex006@gmail.com],
        [slex])

AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config.h)

AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)

AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL

PKG_CHECK_MODULES(SLEX, 
        gtkmm-2.4 
        libglademm-2.4
        libxml++-2.6
        gconfmm-2.6
)

AC_SUBST(SLEX_CFLAGS)
AC_SUBST(SLEX_LIBS)

AC_CONFIG_FILES([
        Makefile
        data/Makefile
        src/Makefile
])
